package com.eud.service;

import java.util.List;

import com.eud.entity.Admin;
import com.eud.entity.User;

public interface UserService {
	public boolean addUser(User user);
	public User query(String name);
	public List<User> queryUserAll();
	public List<User> queryUser(User user);
	public boolean deletUser(int id);
	public boolean upDateUser(User user);
	public boolean deletUserAll(String[] ids);
	public boolean addAdmin(Admin admin);
	public Admin queryAdmin(String name);
	public List<Admin> queryAdminAll();
	public List<Admin> queryAdmin(Admin admin);
	public boolean deletAdmin(int id);
	public boolean upDateAdmin(Admin admin);
	public boolean deletAdminAll(String[] ids);
}
